import java.util.Scanner;

public class Client {
    public static void main(String[] args){
        System.out.println("输入想要的产品");
        try (Scanner sc = new Scanner(System.in)) {
			String productType = sc.next();
			new Factory();
			Product product = Factory.createProduct(productType);
			product.operation();
		}
    }
}
